﻿CREATE TABLE [dbo].[ETL_DtTableDataHistory]
(
	[Id] uniqueidentifier NOT NULL PRIMARY KEY,
	[DtTableId] uniqueidentifier NULL,
	[DataId] nvarchar(512) NULL,
	[ColumnId] uniqueidentifier NULL,
	[Reason] int NULL,
	[OldValue] nvarchar(512) NULL,
	[NewValue] nvarchar(512) NULL,
	[CreatedTime] datetime NULL,
	[Creator] nvarchar(64) NULL,
	[IsLatest] bit NULL
)
